<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
		<script type="text/javascript" src="js/jquery-1.2.6.js"></script>
		<link type="text/css" rel="stylesheet" href="style/style.css" />
        <script type="text/javascript" src="plugin/artDialog.js?skin=green"></script>
        <script type="text/javascript">
            document.write('<script type="text/javascript" src="js/'+getQueryStr("language")+'.js"><\/script>');
        </script>
		<title></title>
</head>
<body class="gui">

<div id="wrapper">
<div id="content">
	<div id="header">
<div id="logo">
<h1>Control Panel</h1>
</div>

</div>
<div id="main">
<div id="contents_stat">
<form name="filters"  method="post" >
<fieldset>
<legend><label sid="guide.title2"></label></legend>
<div class="frame_tab_layer">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="cmenutitle">
<td  colspan="2"  class="frame_tab_right" style="padding-right:50px;">
</td>
</tr>
<tr>
<td  align="left" width="30%" style="padding-left:50px;">
	<input type="radio" name="id2024" id="id2024_3" value="PPPOE" checked /><b>
    <label sid="wan.connection_type_pppoe"></label>
    </b>
</td>
<td  class="frame_tab_right" style="padding-right:50px;">
    <label sid="guide.note8_s"></label>
</td>
</tr>
<tr>
<td  colspan="2"  class="frame_tab_right" style="padding-right:50px;">
</td>
</tr>
<tr>
<td  align="left" width="30%" style="padding-left:50px;">
	<input type="radio" name="id2024" id="id2024_2" value="DHCP"/><b>
    <label sid="wan.connection_type_dhcp"></label>
</b>
</td>
<td   class="frame_tab_right" style="padding-right:50px;">
    <label sid="guide.note7_s"></label>
</td>
</tr>
<tr>
<td  colspan="2"  class="frame_tab_right" style="padding-right:50px;">
</td>
</tr>
<tr>
<td  align="left" width="30%" style="padding-left:50px;">
	<input type="radio" name="id2024" id="id2024_1" value="STATIC"/><b>
    <label sid="wan.connection_type_static"></label>
    </b>
</td>
<td   class="frame_tab_right" style="padding-right:50px;">
    <label sid="guide.note6_s"></label>

</td>
</tr>
<tr>
<td  colspan="2"  class="frame_tab_right" style="padding-right:50px;">
</td>
</tr>
<tr>
<td  colspan="2" align="center">
    <input class="button" type="button"  sid="guide.previous" name="previous" value="" />
    <input class="button" type="button"  sid="guide.next" name="submit" value="" />
    <input class="button" type="button"  sid="main.cancel" name="cancel" value="" />
</td>
</tr>
</table>
</div>
</fieldset>
</form>
</div>
</div>

<div id="floatKiller"></div>
<div id="statusInfo">

<div class="info"><span id="loginuser"></span></div>

<div class="info">
    <button class="logout" onclick="reboot();">
        <img src="images/reboot.gif" border="0">&#160;
        <label sid="tools.td10"></label>
    </button>
    <button class="logout" onclick="logout();">
        <img src="images/logout.gif" border="0">&#160;
        <label sid="share.logout"></label>
    </button></div>
</div>

</div>
</div>
<div id="lock_div">&nbsp; </div>
<div id="lock_div2">&nbsp;</div>
<div id="message_panel"><span id="mess">&nbsp;</span><br/>
  <br/>
  <img src="images/jd.gif"/>
</div>
<div id="rightMenu" style="display: none">
    <ul>
        <li id="editWords">Edit</li>
        <li id="defaultValue">Default</li>
    </ul>
</div>
<script type="text/javascript">
	setTimeout("height_div()",500);
</script>
<script type="text/javascript" src="lib.js"></script>
<script type="text/javascript" src="js/message_panel.js"></script>
<script type="text/javascript">


    $("label").each(function () {
        var currentVal =$(this);
        $(this).html(decodeURIComponent(eval($(this).attr("sid"))));
        $(this).rightClick(function(){
            if(currentVal.attr("sid")) {
                showEditDialog(currentVal);
                currentVal.addClass("EditPosition");
            }
        })

        if($(this).html()=="" && $(this).parent().hasClass("definition")){
            $(this).parent().hide();
            $(this).parent().prev().hide();
        }
    });

    $("input[type='button']").each(function () {
        $(this).val(decodeURIComponent(eval($(this).attr("sid"))));
        var currentButton =$(this);
        $(this).rightClick(function(){
            showEditDialog(currentButton,'val');
            currentButton.addClass("EditPosition");
        })


    });

    $("button").each(function(){
        var currentButton =$(this);
        var ButtonVal = currentButton.find("label");
        $(this).rightClick(function(){
            if(ButtonVal.attr("sid")) {
                showEditDialog(ButtonVal);
                ButtonVal.addClass("EditPosition");
            }
        })
    });

       var types =getQueryStr("types");
       var language=getQueryStr("language");
		if(types=="home"){
			$("#id2024_3").attr("checked",true);
		}else{
			$("#id2024_3").attr("checked",true);
		}
	
	var settext = "&types="+types+"&language="+language;
		
    $("[name=submit]").click(function () {
    	if($("#id2024_1").attr("checked")){
    		settext += "&id2024=STATIC";
    		window.location.href="guidewan2.htm?settext="+settext;
    		}else if($("#id2024_2").attr("checked")){
    			settext += "&id2024=DHCP";
    			window.location.href="guidewireless.htm?settext="+settext;
    		}else if($("#id2024_3").attr("checked")){
    			settext += "&id2024=PPPOE";
    			window.location.href="guidewan2.htm?settext="+settext;
    		}
        
    });
    
     $("[name=previous]").click(function () {
       history.back();
    });
    
    $("[name=cancel]").click(function () {
        window.location.href="menuGuide.htm?language="+getQueryStr("language");
    });
</script>
</body>
</html>
